package com.sourceQ.system.dto.tenant;

import com.sourceQ.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author: SourceQ
 * @create: 2024-03-26 10:40
 * @Description:
 */
@Schema(description = "管理后台 - 租户分页 Request VO")
@Data

@ToString(callSuper = true)
public class TenantSaveReqDTO {

    @Schema(description = "租户编号")
    @Excel(name = "租户编号")
    private Long id;

    @Schema(description = "租户名")
    @Excel(name ="租户名")
    private String name;

    @Schema(description = "联系人")
    @Excel(name ="联系人")
    private String contactName;
    @Schema(description = "邮箱")
    @Excel(name ="邮箱")
    private String email;
    @Schema(description = "性别")
    @Excel(name ="性别")
    private String sex;

    @Schema(description = "职位")
    @Excel(name = "职位")
    private List<Long> postIds;

    @Schema(description = "联系手机", example = "15601691300")
    @Excel(name ="联系手机")
    private String contactMobile;

    @Schema(description = "租户状态", example = "1")
    @Excel(name ="状态")
    private String status;

    @Schema(description = "绑定域名")
    private String website;

    @Schema(description = "租户套餐编号", example = "1024")
    private Long packageId;

    @Schema(description = "过期时间")
    private LocalDateTime expireTime;


    @Schema(description = "创建时间")
    @Excel(name ="创建时间")
    private LocalDateTime createTime;

}
